#pragma once

class bMesh:
	public bObject
{
public:
	bMesh(btDiscreteDynamicsWorld* world, const bInitData& initdata);
	~bMesh();

	virtual void			PreRendering(uint arg);
	virtual void			WriteModelMatrix(float* modelmatrix) const;

private:
	const RVertexArray*		m_vertexarray;
	const RMaterial*		m_material;

	btCollisionShape*		m_collisionShape;
};

